import request from '@/http/https'
import res from "@/http/https";

//用户登录的方法
export const loginUser = async (data:any)=>{
    return request({
        url:"BaseDataReadAPI/Account/LoginAccount",
        method:"post",
        params:data,
    });
};

// 获取账户列表 (用户列表)
export const GetAccount = async () => {
    return res({
        url: "BaseDataReadAPI/Account/GetAccount", // 请根据您的后端API端点进行调整
        method: "get"
    });
};

